package cn.hxt.org.query;


import cn.hxt.basic.query.BaseQuery;
import lombok.Data;

@Data
public class EmployeeQuery extends BaseQuery{

    /*//页数默认1
    private Integer currentPage = 1;
    //每页条数
    private Integer pageSize = 5;

    //高级查询
    private String keyword;

    //当前页数
    public Integer getStart(){
        return (this.currentPage - 1)* this.pageSize;
    };

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    @Override
    public String toString() {
        return "EmployeeQuery{" +
                "currentPage=" + currentPage +
                ", pageSize=" + pageSize +
                ", keyword='" + keyword + '\'' +
                '}';
    }*/
}


